package cn.hxzy.office.entity;

import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * (Attendance)实体类
 *
 * @author makejava
 * @since 2020-07-29 11:12:21
 */
public class Attendance implements Serializable {
    @Override
    public String toString() {
        return "Attendance{" +
                "id=" + id +
                ", user=" + user +
                ", recordDate=" + recordDate +
                ", amount=" + amount +
                ", leave=" + leave +
                ", absenteeism=" + absenteeism +
                ", vacation=" + vacation +
                ", realAmount=" + realAmount +
                '}';
    }

    public Attendance() {
    }

    private static final long serialVersionUID = -94985466815726171L;

    private Integer id;

    private User user;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date recordDate;

    private Object amount;

    private Object leave;

    private Object absenteeism;

    private Object vacation;

    private Object realAmount;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public Date getRecordDate() {
        return recordDate;
    }

    public void setRecordDate(Date recordDate) {
        this.recordDate = recordDate;
    }

    public Object getAmount() {
        return amount;
    }

    public void setAmount(Object amount) {
        this.amount = amount;
    }

    public Object getLeave() {
        return leave;
    }

    public void setLeave(Object leave) {
        this.leave = leave;
    }

    public Object getAbsenteeism() {
        return absenteeism;
    }

    public void setAbsenteeism(Object absenteeism) {
        this.absenteeism = absenteeism;
    }

    public Object getVacation() {
        return vacation;
    }

    public void setVacation(Object vacation) {
        this.vacation = vacation;
    }

    public Object getRealAmount() {
        return realAmount;
    }

    public void setRealAmount(Object realAmount) {
        this.realAmount = realAmount;
    }

}